pm2 list

cd loan-admin-api
npm install
pm2 start npm --kill-timeout 15000 --name admin-api --log-date-format "YYYY-MM-DD HH:mm:ss" -- run start
cd -

cd loan-app-api
npm install
pm2 start npm --kill-timeout 15000 --name app-api --log-date-format "YYYY-MM-DD HH:mm:ss" -- run start
cd -

cd loan-sub-admin-api
npm install
pm2 start npm --kill-timeout 15000 --name sub-admin-api --log-date-format "YYYY-MM-DD HH:mm:ss" -- run start
cd -

cd file-server
pm2 start fileserver
cd -

cd ../loan-admin/
pm2 start "./go-admin server" --name go-admin
cd -

pm2 list
